package com.lzy.websocket.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import com.lzy.websocket.bean.User;

@Mapper
public interface UserMapper {
	/**
	 * 获取除了userName以外的所有用户
	 * @param userName
	 * @return
	 */
	public List<User> getAllUsers(String userName);
	
	/**
	 * 根据用户名查询用户
	 * @param userName
	 * @return
	 */
	public User getUserByName(String userName);
}
